package com.jrx.anytxn.transaction.service;

/**
 * @program: anytxn-cf-transaction
 * @description: 策略选择器接口
 * @author: xiaoyu.jing
 * @date: 2019-11-15 13:18
 **/
public interface IStrategySelector {

    /**
     * 获取转列方法转列策略
     * @param tansferMethod
     * @return
     */
    ITransferMethodStrategy selectMethodStrategy(String tansferMethod);

    /**
     * 获取账户类型转列策略
     * @param tansferType
     * @return
     */
    ITransferTypeStrategy selectTypeStrategy(Object tansferType);
}
